<template>
	<view class="p-12  pb-safe-area">
		<mp-html :content="detail.content"></mp-html>
	</view>
</template>

<script setup>
	import { ref } from 'vue'
	import { getTags } from '@/api/system.js'
	import { onLoad } from '@dcloudio/uni-app'
	const detail = ref({})
	onLoad((e) => {
		getDetail(e.key)
	})
	const getDetail = (key) => {
		getTags({ key: key }).then(res => {
			uni.setNavigationBarTitle({
				title:res.data.title
			})
			detail.value = res.data
		})
	}
</script>

<style>
	page {
		letter-spacing: 0px;
	}
</style>